package com.hs.srm.admin.modules.pricemanagement.service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.service.IService;
import com.hs.srm.admin.modules.pricemanagement.entity.HistoricalPriceEntity;
import com.hs.srm.admin.modules.pricemanagement.vo.EssentialInformationVO;
import com.hs.srm.admin.modules.requisition.vo.SupplyGoodsEntityVO;
import com.hs.srm.common.utils.PageUtils;


/**
 * @author yanfei
 * @date 2019年3月7日
 * 询价供应商接口
 */
public interface HistoricalPriceService extends IService<HistoricalPriceEntity> {
    // 分页查询
    PageUtils queryPage(Map<String, Object> params);

    List<HistoricalPriceEntity> findbyIds(List<String> id);

    HistoricalPriceEntity convertToHistoryPrice(SupplyGoodsEntityVO supplyGoodsEntity);

    HistoricalPriceEntity convertToProHistoryPrice(EssentialInformationVO essentialInformationVO);

    List<HistoricalPriceEntity> findUnionVendorByIds(ArrayList<String> id);
}
